package cn.kawa.org.service;

import cn.kawa.basic.query.BaseQuery;
import cn.kawa.basic.service.IBaseService;
import cn.kawa.basic.util.PageList;
import cn.kawa.org.domain.Department;

import java.util.List;

public interface IDepartmentService extends IBaseService<Department> {
    //加载所有
    /*List<Department> findAll();
    //加载单个
    Department findById(Long id);
    //保存一个
    void  add (Department department);
    //移除一个
    void  delete(Long id);
    //更新一个
    void update(Department department);
    //分页查询
    PageList<Department> queryPage(BaseQuery query);

    void patchDel(List<Long> ids);*/ //全部可以继承

    List<Department> deptTree();
}
